/*
 * @Descripttion:
 * @version:
 * @Author: xcb
 * @Date: 2021-03-16 09:18:22
 * @LastEditors: yangyongtao
 * @LastEditTime: 2024-03-13 10:43:52
 */
import { createApp } from "vue";
import App from "./App.vue";
import "es6-promise/auto";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import { ElMessage } from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import commonFun from "./utils/publicFunction";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app
  .use(ElementPlus, {
    locale: zhCn,
  })
  .use(router)
  .use(store)
  .use(commonFun)
  .mount("#app");
